<!-- <template>
  <div class="search">
    <Header></Header>
    <section>
      <div class="search-history">
        <h2>
          <i class="iconfont icon-fangdajing"><span>历史搜索</span> <span>清空</span></i>
        </h2>
        <ul>
          <li>chaye</li>
          <li>chaye</li>
          <li>chaye</li>
        </ul>
      </div>
    </section>
  </div>
</template>
<script setup>
import Header from '../components/search/header.vue'
</script>
<style scoped>
.search {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #fff;
}

section {
  flex: 1;
  background-color: #fff;
  overflow: hidden;
}

.search-history h2 {
  position: relative;
  padding: 0.533333rem;
  font-weight: 400;
  font-size: 0.48rem;
}

.search-history h2 i {
  padding-right: 0.08rem;
  color: #999;
  font-size: 0.8rem;
}

.search-history h2 span:last-child {
  position: absolute;
  right: 0.533333rem;
}

.search-history ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0.266666rem;
}

.search-history ul li {
  margin: 0.266666rem;
  padding: 0.08rem 0.16rem;
  font-size: 0.7rem;
  border: 1px solid #ccc;
}
</style> -->
<template>
  <div class="search">
    <router-view></router-view>
  </div>
</template>
